StupidBeauty
Read times:580Posted at:Mon Feb 18 05:11:44 2013
- no title specified

转载Android UI学习 - 对话框 (AlertDialog & ProgressDialog)

可使用AlertDialog来显示一个消息框,这个消息框需要用户的交互才会消失。

http://android.blog.51cto.com/268543/333769

亮点

警告对话框AlertDialog的使用

为了创建一个警告对话框,使用AlertDialog.Builder 子类。通过AlertDialog.Builder(Context)获取一个构造器然后使用这个类的公共方法来定义警告对话框的所有属性。当得到构造器后,通过create().方法来获取警告对话框对象。有时我是不调用create()的,而是在设置好了后直接调用show()显示AlertDialog。

Dialog_buttonDialog_button

未知美女

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4